package com.pets.entity;

public class Animal {
    private Integer aid;

    private String aname;

    private Integer aage;

    private String asex;

    private String aspecies;

    private String ahealthcondition;

    private String aintroduction;

    private String apicture;
    private int astatus;
    private int uid;

    public int getAstatus() {
        return astatus;
    }

    public void setAstatus(int astatus) {
        this.astatus = astatus;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname == null ? null : aname.trim();
    }

    public Integer getAage() {
        return aage;
    }

    public void setAage(Integer aage) {
        this.aage = aage;
    }

    public String getAsex() {
        return asex;
    }

    public void setAsex(String asex) {
        this.asex = asex == null ? null : asex.trim();
    }

    public String getAspecies() {
        return aspecies;
    }

    public void setAspecies(String aspecies) {
        this.aspecies = aspecies == null ? null : aspecies.trim();
    }

    public String getAhealthcondition() {
        return ahealthcondition;
    }

    public void setAhealthcondition(String ahealthcondition) {
        this.ahealthcondition = ahealthcondition == null ? null : ahealthcondition.trim();
    }

    public String getAintroduction() {
        return aintroduction;
    }

    public void setAintroduction(String aintroduction) {
        this.aintroduction = aintroduction == null ? null : aintroduction.trim();
    }

    public String getApicture() {
        return apicture;
    }

    public void setApicture(String apicture) {
        this.apicture = apicture == null ? null : apicture.trim();
    }

    @Override
    public String toString() {
        return "Animal{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", aage=" + aage +
                ", asex='" + asex + '\'' +
                ", aspecies='" + aspecies + '\'' +
                ", ahealthcondition='" + ahealthcondition + '\'' +
                ", aintroduction='" + aintroduction + '\'' +
                ", apicture='" + apicture + '\'' +
                ", astatus='" + astatus + '\'' +
                ", uid=" + uid +
                '}';
    }
}